<?php
	session_start();
	
	if($_SESSION['logged'] == true)
	{
		$_SESSION['username'] = "";
		
		$_SESSION['password'] = "";
		
		$_SESSION['logged'] = false;
		
		header('Location: index.php');
	}
?>